package com.kehutong.charge.entity;

import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

import java.math.BigDecimal;

/**
 * @author joneRon
 * @Title: kht
 * @Description: 费用信息对象
 * @date 2021/7/16
 */
@Table(value="t_charge_fee_change", comment="费用变更记录表",multi = true, idType = IDType.TIMESTAMP, engine = "innodb")
public class ChargeFeeChange extends Entity {

    protected ChargeFeeChange(String id) {
        super(id);
    }

    @Column(comment="关联费用管理编号")
    private String serviceNo;

    @Column(comment="账单编号，用于关联")
    private String chargeBillNo;

    @Column(comment="费用类型id")
    private String feeTypeNo;

    @Column(comment="费用类型名称")
    private String feeTypeName;

    @Column(comment="账单金额")
    private BigDecimal billAmount;

    @Column(comment="应付金额")
    private BigDecimal payableAmount;

    @Column(comment="实付金额")
    private BigDecimal paymentAmount;

    @Column(comment="议价金额")
    private BigDecimal negotiateAmount;

    @Column(comment = "状态：0未开启，1开启")
    private boolean status;

    @Column(comment="说明")
    private String remake;

    @Column(comment="创建人")
    private String createName;

    @Column(comment="修改人")
    private String updateName;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    public String getServiceNo() {
        return serviceNo;
    }

    public void setServiceNo(String serviceNo) {
        this.serviceNo = serviceNo;
    }

    public BigDecimal getPayableAmount() {
        return payableAmount;
    }

    public void setPayableAmount(BigDecimal payableAmount) {
        this.payableAmount = payableAmount;
    }

    public BigDecimal getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(BigDecimal paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public String getChargeBillNo() {
        return chargeBillNo;
    }

    public void setChargeBillNo(String chargeBillNo) {
        this.chargeBillNo = chargeBillNo;
    }

    public String getFeeTypeNo() {
        return feeTypeNo;
    }

    public void setFeeTypeNo(String feeTypeNo) {
        this.feeTypeNo = feeTypeNo;
    }

    public String getFeeTypeName() {
        return feeTypeName;
    }

    public void setFeeTypeName(String feeTypeName) {
        this.feeTypeName = feeTypeName;
    }

    public BigDecimal getBillAmount() {
        return billAmount;
    }

    public void setBillAmount(BigDecimal billAmount) {
        this.billAmount = billAmount;
    }

    public BigDecimal getNegotiateAmount() {
        return negotiateAmount;
    }

    public void setNegotiateAmount(BigDecimal negotiateAmount) {
        this.negotiateAmount = negotiateAmount;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getRemake() {
        return remake;
    }

    public void setRemake(String remake) {
        this.remake = remake;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
